package com.mes.restful.control;

import com.mes.common.framework.rest.impl.BaseRestServerInterfaceImpl;
import com.mes.dubbo.consumer.ControlConsumer;
import com.mes.dubbo.interprovider.control.IDoorTypeProvider;
import com.mes.entity.control.DoorType;
import com.mes.utils.RestConstants;
import io.swagger.annotations.Api;

import javax.ws.rs.Path;

/**
 * Created by leden on 2017/12/2.
 */
@Api(value = "木门类型管理", description = "木门类型管理")
@Path(RestConstants.RestPathPrefix.DOORTYPE)
public class DoorTypeRestServer extends BaseRestServerInterfaceImpl<DoorType> {
    @Override
    public IDoorTypeProvider getDubboBaseInterface(){
        return ControlConsumer.getDoorTypeProvider();
    }
}
